﻿<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<header class="header-area inner-page">
    <th:block th:include="commons/front::public-resource">LOGIN</th:block>
    <th:block th:include="commons/front::login-bar">login-bar</th:block>
    <th:block th:include="commons/front::navigation">navigation</th:block>
    <title>灵感发现-详情</title>
</header>
<header url="/front/service"></header>
<body>

<ol class="breadcrumb">
    <li title="返回上一页"><a href="javascript:history.go(-1);">
        <span class="glyphicon glyphicon-chevron-left"></span>
    </a></li>
</ol>

<div class="container text-center">
    <h2 th:text="${service.title}"></h2>
    <div class="row offset3 col-lg-offset-4" style="margin-top: 12px; margin-bottom: 30px; line-height: 30px;">
        <label style="color: #979797; font-size: 16px; line-height: 1.71" th:text="${service.address}"></label>
        <label style="font-weight: normal" th:text="|${#dates.format(service.activityStartTime, 'yyyy-MM-dd HH:mm')} - ${#dates.format(service.activityEndTime, 'yyyy-MM-dd HH:mm')}|"></label>
    </div>
    <div class="row text-center">
        <div id="content"></div>
    </div>
</div>

<textarea id="serviceDescrption" th:text="${service.descrption}" style="display: none;">
</textarea>

<th:block th:include="commons/front::footer">FOOTER</th:block>

<th:block th:include="commons/front::login">LOGIN</th:block>

<script>
    $(function () {
        $("#content").html($("#serviceDescrption").text());
    })
</script>
</body>
</html>

